<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
		<title>UMSocialControllerService Class Reference</title>
		<meta id="xcode-display" name="xcode-display" content="render"/>
		<meta name="viewport" content="width=550" />
		<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
		<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
		<meta name="generator" content="appledoc 2.1 (build 840)" />
	</head>
	<body>
		<header id="top_header">
			<div id="library" class="hideInXcode">
				<h1><a id="libraryTitle" href="../index.html">UMSocial_SDK </a></h1>
				<a id="developerHome" href="../index.html">umeng</a>
			</div>
			
			<div id="title" role="banner">
				<h1 class="hideInXcode">UMSocialControllerService Class Reference</h1>
			</div>
			<ul id="headerButtons" role="toolbar">
				<li id="toc_button">
					<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
				</li>
				<li id="jumpto_button" role="navigation">
					<select id="jumpTo">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	
	
	
	
	<option value="tasks">Tasks</option>
	
	
	
	
	
	<option value="properties">Properties</option>
	
	<option value="//api/name/currentNavigationController">&nbsp;&nbsp;&nbsp;&nbsp;currentNavigationController</option>
	
	<option value="//api/name/currentSnsPlatformName">&nbsp;&nbsp;&nbsp;&nbsp;currentSnsPlatformName</option>
	
	<option value="//api/name/currentViewController">&nbsp;&nbsp;&nbsp;&nbsp;currentViewController</option>
	
	<option value="//api/name/nextViewController">&nbsp;&nbsp;&nbsp;&nbsp;nextViewController</option>
	
	<option value="//api/name/socialDataService">&nbsp;&nbsp;&nbsp;&nbsp;socialDataService</option>
	
	<option value="//api/name/socialUIDelegate">&nbsp;&nbsp;&nbsp;&nbsp;socialUIDelegate</option>
	
	
	
	
	<option value="class_methods">Class Methods</option>
	
	<option value="//api/name/defaultControllerService">&nbsp;&nbsp;&nbsp;&nbsp;+ defaultControllerService</option>
	
	
	
	
	<option value="instance_methods">Instance Methods</option>
	
	<option value="//api/name/getSnsAccountController">&nbsp;&nbsp;&nbsp;&nbsp;- getSnsAccountController</option>
	
	<option value="//api/name/getSocialAccountController">&nbsp;&nbsp;&nbsp;&nbsp;- getSocialAccountController</option>
	
	<option value="//api/name/getSocialIconActionSheetInController:">&nbsp;&nbsp;&nbsp;&nbsp;- getSocialIconActionSheetInController:</option>
	
	<option value="//api/name/getSocialLoginController">&nbsp;&nbsp;&nbsp;&nbsp;- getSocialLoginController</option>
	
	<option value="//api/name/getSocialOauthController:">&nbsp;&nbsp;&nbsp;&nbsp;- getSocialOauthController:</option>
	
	<option value="//api/name/getSocialShareEditController:">&nbsp;&nbsp;&nbsp;&nbsp;- getSocialShareEditController:</option>
	
	<option value="//api/name/getSocialShareListController">&nbsp;&nbsp;&nbsp;&nbsp;- getSocialShareListController</option>
	
	<option value="//api/name/getSocialViewController:withSnsType:">&nbsp;&nbsp;&nbsp;&nbsp;- getSocialViewController:withSnsType:</option>
	
	<option value="//api/name/initWithUMSocialData:">&nbsp;&nbsp;&nbsp;&nbsp;- initWithUMSocialData:</option>
	
	<option value="//api/name/setShareText:shareImage:socialUIDelegate:">&nbsp;&nbsp;&nbsp;&nbsp;- setShareText:shareImage:socialUIDelegate:</option>
	
	<option value="//api/name/socialData">&nbsp;&nbsp;&nbsp;&nbsp;- socialData</option>
	
	
	
</select>
				</li>
			</ul>
		</header>
		<nav id="tocContainer" class="isShowingTOC">
			<ul id="toc" role="tree">
				
<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>




<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
	
</ul></li>





<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/currentNavigationController">currentNavigationController</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/currentSnsPlatformName">currentSnsPlatformName</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/currentViewController">currentViewController</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/nextViewController">nextViewController</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/socialDataService">socialDataService</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/socialUIDelegate">socialUIDelegate</a></span></li>
	
</ul></li>



<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#class_methods">Class Methods</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/defaultControllerService">defaultControllerService</a></span></li>
	
</ul></li>



<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getSnsAccountController">getSnsAccountController</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getSocialAccountController">getSocialAccountController</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getSocialIconActionSheetInController:">getSocialIconActionSheetInController:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getSocialLoginController">getSocialLoginController</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getSocialOauthController:">getSocialOauthController:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getSocialShareEditController:">getSocialShareEditController:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getSocialShareListController">getSocialShareListController</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getSocialViewController:withSnsType:">getSocialViewController:withSnsType:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/initWithUMSocialData:">initWithUMSocialData:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/setShareText:shareImage:socialUIDelegate:">setShareText:shareImage:socialUIDelegate:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/socialData">socialData</a></span></li>
	
</ul></li>


			</ul>
		</nav>
		<article>
			<div id="contents" class="isShowingTOC" role="main">
				<a title="UMSocialControllerService Class Reference" name="top"></a>
				<div class="main-navigation navigation-top">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="header">
					<div class="section-header">
						<h1 class="title title-header">UMSocialControllerService Class Reference</h1>
					</div>		
				</div>
				<div id="container">	
					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<td class="specification-title">Inherits from</td>
	<td class="specification-value">NSObject</td>
</tr><tr>
	<td class="specification-title">Declared in</td>
	<td class="specification-value">UMSocialControllerService.h<br />UMSocialControllerService.m</td>
</tr>
						</tbody></table></div>
					
					
					
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>用此类的方法可以得到分享的有关UI对象，例如分享列表、评论列表、分享编辑页、分享授权页、个人中心页面等。返回都是<code>UINavigationController</code>对象，建议把这个对象present到你要添加到的<code>UIViewController</code>上</p>
					</div>
					
					
					
					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						<h2 class="subtitle subtitle-tasks">Tasks</h2>
						
						
						
						<h3 class="subsubtitle task-title">Other Methods</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/defaultControllerService">+&nbsp;defaultControllerService</a></code>
		<span class="tooltip"><p>返回一个以<a href="../Classes/UMSocialData.html#//api/name/defaultData">[UMSocialData defaultData]</a>来做初始化参数的<code>UMSocialControllerService</code>对象</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/socialData">&ndash;&nbsp;socialData</a></code>
		<span class="tooltip"><p>与<code>UMSocialControllerService</code>对象对应的<a href="../Classes/UMSocialData.html"><code>UMSocialData</code></a>对象，可以通过该对象设置分享内嵌文字、图片，获取分享数等属性</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/initWithUMSocialData:">&ndash;&nbsp;initWithUMSocialData:</a></code>
		<span class="tooltip"><p>初始化一个<code>UMSocialControllerService</code>对象</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/setShareText:shareImage:socialUIDelegate:">&ndash;&nbsp;setShareText:shareImage:socialUIDelegate:</a></code>
		<span class="tooltip"><p>设置分享内容和回调对象</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getSocialViewController:withSnsType:">&ndash;&nbsp;getSocialViewController:withSnsType:</a></code>
		<span class="tooltip"><p>获取各种页面的<code>UIViewController</code>对象</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getSocialShareListController">&ndash;&nbsp;getSocialShareListController</a></code>
		<span class="tooltip"><p>得到一个分享列表页面，该列表出现的分享列表可以通过实现<a href="../Classes/UMSocialConfig.html"><code>UMSocialConfig</code></a>的类方法来自定义</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getSocialAccountController">&ndash;&nbsp;getSocialAccountController</a></code>
		<span class="tooltip"><p>得到个人中心页面，该页面包括用户各个微博授权信息和选择的登录账号</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getSocialShareEditController:">&ndash;&nbsp;getSocialShareEditController:</a></code>
		<span class="tooltip"><p>分享编辑页面</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getSocialOauthController:">&ndash;&nbsp;getSocialOauthController:</a></code>
		<span class="tooltip"><p>授权页面，如果你要想得到授权完成之后的事件，你可以实现<a href="../Protocols/UMSocialUIDelegate.html"><code>UMSocialUIDelegate</code></a>里面的<code>-(void)didCloseUIViewController:(UMSViewControllerType)fromViewControllerType;</code>方法，当授权关闭页面会调用此方法。另外授权完成之后sdk会自动去取个人账户信息，你可以在回调函数里面去到刚刚授权的微博平台的账户信息。</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getSocialLoginController">&ndash;&nbsp;getSocialLoginController</a></code>
		<span class="tooltip"><p>登录页面,出现你配置出现的所有sns平台，授权之后设置为sdk的登录账号。使用评论功能时会取此登录账号的昵称和头像。</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getSnsAccountController">&ndash;&nbsp;getSnsAccountController</a></code>
		<span class="tooltip"><p>sns账号设置页面，该页面包括个人的各个微博授权信息</p></span>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getSocialIconActionSheetInController:">&ndash;&nbsp;getSocialIconActionSheetInController:</a></code>
		<span class="tooltip"><p>获取用以sns各平台icon平铺来展示的分享列表页面对象</p></span>
	</span>
	
	
</li>
						</ul>
						
						
						
						<h3 class="subsubtitle task-title">Other Methods</h3>

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/socialDataService">&nbsp;&nbsp;socialDataService</a></code>
		<span class="tooltip"><p>用<a href="../Classes/UMSocialDataService.html"><code>UMSocialDataService</code></a>对象，可以调用发送微博、评论等数据级的方法</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/currentViewController">&nbsp;&nbsp;currentViewController</a></code>
		<span class="tooltip"><p>当前返回的<code>UINavigationController</code>对象</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/currentNavigationController">&nbsp;&nbsp;currentNavigationController</a></code>
		<span class="tooltip"><p>当前返回的<code>UIViewController</code>对象</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/socialUIDelegate">&nbsp;&nbsp;socialUIDelegate</a></code>
		<span class="tooltip"><p>当前<a href="../Protocols/UMSocialUIDelegate.html"><code>UMSocialUIDelegate</code></a>对象,此对象可以获取到授权完成，关闭页面等状态，详情看<a href="../Protocols/UMSocialUIDelegate.html"><code>UMSocialUIDelegate</code></a>的定义</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/currentSnsPlatformName">&nbsp;&nbsp;currentSnsPlatformName</a></code>
		<span class="tooltip"><p>当前sns平台名</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/nextViewController">&nbsp;&nbsp;nextViewController</a></code>
		<span class="tooltip"><p>下一个页面类型</p></span>
	</span>
	<span class="task-item-suffix">property</span>
	
</li>
						</ul>
						
					</div>
					
					
					
					
					
					<div class="section section-methods">
						<a title="Properties" name="properties"></a>
						<h2 class="subtitle subtitle-methods">Properties</h2>
						
						<div class="section-method">
	<a name="//api/name/currentNavigationController" title="currentNavigationController"></a>
	<h3 class="subsubtitle method-title">currentNavigationController</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>当前返回的<code>UIViewController</code>对象</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) UINavigationController *currentNavigationController</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/currentSnsPlatformName" title="currentSnsPlatformName"></a>
	<h3 class="subsubtitle method-title">currentSnsPlatformName</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>当前sns平台名</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, retain) NSString *currentSnsPlatformName</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/currentViewController" title="currentViewController"></a>
	<h3 class="subsubtitle method-title">currentViewController</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>当前返回的<code>UINavigationController</code>对象</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) UIViewController *currentViewController</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/nextViewController" title="nextViewController"></a>
	<h3 class="subsubtitle method-title">nextViewController</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>下一个页面类型</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) UMSViewControllerType nextViewController</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/socialDataService" title="socialDataService"></a>
	<h3 class="subsubtitle method-title">socialDataService</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>用<a href="../Classes/UMSocialDataService.html"><code>UMSocialDataService</code></a>对象，可以调用发送微博、评论等数据级的方法</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, readonly) UMSocialDataService *socialDataService</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/socialUIDelegate" title="socialUIDelegate"></a>
	<h3 class="subsubtitle method-title">socialUIDelegate</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>当前<a href="../Protocols/UMSocialUIDelegate.html"><code>UMSocialUIDelegate</code></a>对象,此对象可以获取到授权完成，关闭页面等状态，详情看<a href="../Protocols/UMSocialUIDelegate.html"><code>UMSocialUIDelegate</code></a>的定义</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (nonatomic, assign) id&lt;UMSocialUIDelegate&gt; socialUIDelegate</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
					
					<div class="section section-methods">
						<a title="Class Methods" name="class_methods"></a>
						<h2 class="subtitle subtitle-methods">Class Methods</h2>
						
						<div class="section-method">
	<a name="//api/name/defaultControllerService" title="defaultControllerService"></a>
	<h3 class="subsubtitle method-title">defaultControllerService</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>返回一个以<a href="../Classes/UMSocialData.html#//api/name/defaultData">[UMSocialData defaultData]</a>来做初始化参数的<code>UMSocialControllerService</code>对象</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>+ (UMSocialControllerService *)defaultControllerService</code></div>

    
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p><code>UMSocialControllerService</code>的默认初始化对象</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
					
					<div class="section section-methods">
						<a title="Instance Methods" name="instance_methods"></a>
						<h2 class="subtitle subtitle-methods">Instance Methods</h2>
						
						<div class="section-method">
	<a name="//api/name/getSnsAccountController" title="getSnsAccountController"></a>
	<h3 class="subsubtitle method-title">getSnsAccountController</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>sns账号设置页面，该页面包括个人的各个微博授权信息</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (UINavigationController *)getSnsAccountController</code></div>

    
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p><code>UINavigationController</code>对象</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getSocialAccountController" title="getSocialAccountController"></a>
	<h3 class="subsubtitle method-title">getSocialAccountController</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>得到个人中心页面，该页面包括用户各个微博授权信息和选择的登录账号</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (UINavigationController *)getSocialAccountController</code></div>

    
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p><code>UINavigationController</code>对象</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getSocialIconActionSheetInController:" title="getSocialIconActionSheetInController:"></a>
	<h3 class="subsubtitle method-title">getSocialIconActionSheetInController:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>获取用以sns各平台icon平铺来展示的分享列表页面对象</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (UMSocialIconActionSheet *)getSocialIconActionSheetInController:(UIViewController *)<em>controller</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>controller</em></dt>
			<dd><p>弹出的分享列表页面，点击sns平台icon之后，出现的分享页面或者授权页面所在的UIViewController</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>分享列表页面</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getSocialLoginController" title="getSocialLoginController"></a>
	<h3 class="subsubtitle method-title">getSocialLoginController</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>登录页面,出现你配置出现的所有sns平台，授权之后设置为sdk的登录账号。使用评论功能时会取此登录账号的昵称和头像。</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (UINavigationController *)getSocialLoginController</code></div>

    
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p><code>UINavigationController</code>对象</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getSocialOauthController:" title="getSocialOauthController:"></a>
	<h3 class="subsubtitle method-title">getSocialOauthController:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>授权页面，如果你要想得到授权完成之后的事件，你可以实现<a href="../Protocols/UMSocialUIDelegate.html"><code>UMSocialUIDelegate</code></a>里面的<code>-(void)didCloseUIViewController:(UMSViewControllerType)fromViewControllerType;</code>方法，当授权关闭页面会调用此方法。另外授权完成之后sdk会自动去取个人账户信息，你可以在回调函数里面去到刚刚授权的微博平台的账户信息。</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (UINavigationController *)getSocialOauthController:(NSString *)<em>platformType</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>shareToType</em></dt>
			<dd><p>要授权的微博平台</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p><code>UINavigationController</code>对象</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getSocialShareEditController:" title="getSocialShareEditController:"></a>
	<h3 class="subsubtitle method-title">getSocialShareEditController:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>分享编辑页面</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (UINavigationController *)getSocialShareEditController:(NSString *)<em>platformType</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>platformType</em></dt>
			<dd><p>要编辑的微博平台,并支持UMSocialSnsTypeEmail和UMSocialSnsTypeSms返回编辑Email页面和短信页面，不支持邮箱或者短信的设备分别返回nil</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p><code>UINavigationController</code>对象</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getSocialShareListController" title="getSocialShareListController"></a>
	<h3 class="subsubtitle method-title">getSocialShareListController</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>得到一个分享列表页面，该列表出现的分享列表可以通过实现<a href="../Classes/UMSocialConfig.html"><code>UMSocialConfig</code></a>的类方法来自定义</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (UINavigationController *)getSocialShareListController</code></div>

    
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p><code>UINavigationController</code>对象</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getSocialViewController:withSnsType:" title="getSocialViewController:withSnsType:"></a>
	<h3 class="subsubtitle method-title">getSocialViewController:withSnsType:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>获取各种页面的<code>UIViewController</code>对象</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (UIViewController *)getSocialViewController:(UMSViewControllerType)<em>viewControllerType</em> withSnsType:(NSString *)<em>snsName</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>viewControllerType</em></dt>
			<dd><p>页面类型</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>snsName</em></dt>
			<dd><p>编辑页面、授权页面等需要的平台名</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>页面的<code>UIViewController</code>对象</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/initWithUMSocialData:" title="initWithUMSocialData:"></a>
	<h3 class="subsubtitle method-title">initWithUMSocialData:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>初始化一个<code>UMSocialControllerService</code>对象</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (id)initWithUMSocialData:(UMSocialData *)<em>socialData</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>socialData</em></dt>
			<dd><p><a href="../Classes/UMSocialData.html"><code>UMSocialData</code></a>对象</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>初始化对象</p>
	</div>
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/setShareText:shareImage:socialUIDelegate:" title="setShareText:shareImage:socialUIDelegate:"></a>
	<h3 class="subsubtitle method-title">setShareText:shareImage:socialUIDelegate:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>设置分享内容和回调对象</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (void)setShareText:(NSString *)<em>shareText</em> shareImage:(UIImage *)<em>shareImage</em> socialUIDelegate:(id&lt;UMSocialUIDelegate&gt;)<em>socialUIDelegate</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>shareText</em></dt>
			<dd><p>分享内嵌文字</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>shareImage</em></dt>
			<dd><p>分享内嵌图片</p></dd>
		</dl>
		
		<dl class="argument-def parameter-def">
			<dt><em>socialUIDelegate</em></dt>
			<dd><p>分享回调对象</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/socialData" title="socialData"></a>
	<h3 class="subsubtitle method-title">socialData</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>与<code>UMSocialControllerService</code>对象对应的<a href="../Classes/UMSocialData.html"><code>UMSocialData</code></a>对象，可以通过该对象设置分享内嵌文字、图片，获取分享数等属性</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (UMSocialData *)socialData</code></div>

    
	
	
	
	
	
	
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">UMSocialControllerService.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
				</div>
				<div class="main-navigation navigation-bottom">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="footer">
					<hr />
					<div class="footer-copyright">
						<p><span class="copyright">&copy; 2014 umeng. All rights reserved. (Last updated: 2014-02-08)</span><br />
						
						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.1 (build 840)</a>.</span></p>
						
					</div>
				</div>
			</div>
		</article>
		<script type="text/javascript">
			function jumpToChange()
			{
				window.location.hash = this.options[this.selectedIndex].value;
			}
			
			function toggleTOC()
			{
				var contents = document.getElementById('contents');
				var tocContainer = document.getElementById('tocContainer');
				
				if (this.getAttribute('class') == 'open')
				{
					this.setAttribute('class', '');
					contents.setAttribute('class', '');
					tocContainer.setAttribute('class', '');
					
					window.name = "hideTOC";
				}
				else
				{
					this.setAttribute('class', 'open');
					contents.setAttribute('class', 'isShowingTOC');
					tocContainer.setAttribute('class', 'isShowingTOC');
					
					window.name = "";
				}
				return false;
			}
			
			function toggleTOCEntryChildren(e)
			{
				e.stopPropagation();
				var currentClass = this.getAttribute('class');
				if (currentClass == 'children') {
					this.setAttribute('class', 'children open');
				}
				else if (currentClass == 'children open') {
					this.setAttribute('class', 'children');
				}
				return false;
			}
			
			function tocEntryClick(e)
			{
				e.stopPropagation();
				return true;
			}
			
			function init()
			{
				var selectElement = document.getElementById('jumpTo');
				selectElement.addEventListener('change', jumpToChange, false);
				
				var tocButton = document.getElementById('table_of_contents');
				tocButton.addEventListener('click', toggleTOC, false);
				
				var taskTreeItem = document.getElementById('task_treeitem');
				if (taskTreeItem.getElementsByTagName('li').length > 0)
				{
					taskTreeItem.setAttribute('class', 'children');
					taskTreeItem.firstChild.setAttribute('class', 'disclosure');
				}
				
				var tocList = document.getElementById('toc');
				
				var tocEntries = tocList.getElementsByTagName('li');
				for (var i = 0; i < tocEntries.length; i++) {
					tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
				}
				
				var tocLinks = tocList.getElementsByTagName('a');
				for (var i = 0; i < tocLinks.length; i++) {
					tocLinks[i].addEventListener('click', tocEntryClick, false);
				}
				
				if (window.name == "hideTOC") {
					toggleTOC.call(tocButton);
				}
			}
			
			window.onload = init;
			
			// If showing in Xcode, hide the TOC and Header
			if (navigator.userAgent.match(/xcode/i)) {
				document.getElementById("contents").className = "hideInXcode"
				document.getElementById("tocContainer").className = "hideInXcode"
				document.getElementById("top_header").className = "hideInXcode"
			}
			
		</script>
	</body>
</html>